Q3Vector2D_Set
You can use theQ3Vector2D_Set
function to set the scalar components of a two-dimensional vector.
TQ3Vector2D *Q3Vector2D_Set ( TQ3Vector2D *vector2D, float x, float y);
vector2D
- A two-dimensional vector.
x
- The x scalar component of the vector.
y
- The y scalar component of the vector.
DESCRIPTION
TheQ3Vector2D_Set
function returns, as its function result and in thevector2D
parameter, the two-dimensional vector whose scalar components are specified by thex
andy
parameters.